package com.aidex.biz.mapper;

import com.aidex.biz.domain.bo.HomeBo;
import com.aidex.biz.domain.bo.HomeDataBoxBo;
import com.aidex.biz.domain.bo.HomeKuaiJieDataBo;
import com.aidex.biz.domain.bo.HomeShortDataBo;
import com.aidex.common.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

public interface HomeMapper extends BaseMapper<HomeDataBoxBo> {

    public HomeDataBoxBo getDataBoxInfo(HomeBo homeBo);


    /**
     * 首页排行榜 个人
     *
     * @param homeBo
     * @return
     */
    public List<Map<String, Object>> indexPaiHangBangSelf(HomeBo homeBo);

    /**
     * 首页排行榜 部门
     *
     * @param homeBo
     * @return
     */
    public List<Map<String, Object>> indexPaiHangBangDept(HomeBo homeBo);


    public HomeKuaiJieDataBo getKuaiJieDataInfo(HomeBo homeBo);


    /**
     * 获取线索成本
     *
     * @param homeBo
     * @return
     */
    public HomeShortDataBo getShortDataInfoXs(HomeBo homeBo);

    /**
     * 获取新增客户
     *
     * @param homeBo
     * @return
     */

    public HomeShortDataBo getShortDataInfoKh(HomeBo homeBo);

    /**
     * 获取跟进
     *
     * @param homeBo
     * @return
     */

    public HomeShortDataBo getShortDataInfoGj(HomeBo homeBo);

    /**
     * 获取上门
     *
     * @param homeBo
     * @return
     */

    public HomeShortDataBo getShortDataInfoSm(HomeBo homeBo);

    /**
     * 获取签单
     *
     * @param homeBo
     * @return
     */

    public HomeShortDataBo getShortDataInfoQd(HomeBo homeBo);

    /**
     * 获取进件
     *
     * @param homeBo
     * @return
     */

    public HomeShortDataBo getShortDataInfoJj(HomeBo homeBo);

    /**
     * 获取放款
     *
     * @param homeBo
     * @return
     */

    public HomeShortDataBo getShortDataInfoFk(HomeBo homeBo);

    /**
     * 获取回款
     *
     * @param homeBo
     * @return
     */

    public HomeShortDataBo getShortDataInfoHk(HomeBo homeBo);
}
